package net.flydy.ywxcx.wxcloudrun.service.impl;

import net.flydy.ywxcx.wxcloudrun.common.Utils;
import net.flydy.ywxcx.wxcloudrun.dao.MyadminMapper;
import net.flydy.ywxcx.wxcloudrun.model.Myadmin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.Map;

@Service
public class AdminService {

    @Autowired
    private MyadminMapper myadminMapper;

    public Myadmin findAdmin(String loginId) {
        Myadmin myadmin = myadminMapper.selectByLoginId(loginId);
        return myadmin;
    }
}
